<{include file="admin:common/header.html"}>
<div class="page-title">
	<table width="100%" align="center" cellpadding="0" cellspacing="0" >
		<tr>
			<td width="30" align="right"><img src="<{$pager.url}>/images/main-h5-ico.gif" alt="" /></td>
			<th><{$MOD.title}></th>
			<td align="right">
			<{link ctl="member/member:so" class="button" title="搜索" load="mini:搜索会员" width="mini:500"}> &nbsp; &nbsp;
			<{link ctl="member/member:create" class="button" title="添加"}></td>
			<td width="15"></td>
		</tr>
	</table>
</div>
<div class="page-data">	
	<form id="items-form">
    <table width="100%" border="0" cellspacing="0" class="table-data table left">
    <tr>
		<th class="w-100">UID</th><th>会员名</th><th>类型</th><th>邮箱</th><th>手机</th><th>金币</th>
		<th>注册时间</th><th>注册IP</th><th>最后登录</th><th>登录IP</th><th>状态</th><th class="w-150">操作</th>
	</tr>
    <{foreach $items as $item}>
    <tr>
		<td class="left"><label><input type="checkbox" value="<{$item.uid}>" name="uid[]" CK="PRI"/><{$item.uid}><label></td>
		<td class="left"><a ucard="@<{$item.uid}>"><{$item.uname_v}></a></td>
		<td><b <{if $item.from != 'member'}>class="blue"<{/if}>><{$item.from_title}></b></td>
		<td class="left"><{$item.mail}><{if $item.verify_mail}><span class="red">[已验证]</span><{/if}></td>
		<td><{$item.mobile|default:'--'}><{if $item.verify_mobile}><span class="red">[已验证]</span><{/if}></td>
		<td><b class="red"><{$item.gold|default:'0'}></b></td>
		<td><{$item.dateline|format}></td><td><{$item.regip}>(<{$item.regip|iplocal}>)</td>
		<td><{if $item.lastlogin}><{$item.lastlogin|format}><{else}>--<{/if}></td>
		<td><{if $item.loginip}><{$item.loginip}>(<{$item.loginip|iplocal}>)<{else}>--<{/if}></td>
		<td><{if $item.closed == '3'}>删除<{elseif $item.closed == '2'}>锁定<{elseif $item.closed == '1'}>禁言<{else}>正常<{/if}></td>
		<td>
			<{link ctl="member/member:manager" args=$item.uid title="管理" class="button" target="member"}>	
			<{link ctl="member/member:gold" args=$item.uid title="充值金币" load="mini:充值金币" width="mini:500" class="button"}>
			<{link ctl="member/member:edit" args=$item.uid title="修改" class="button"}>
			<{link ctl="member/member:delete" args=$item.uid act="mini:删除" confirm="mini:确定要删除吗？" title="删除" class="button"}>
		</td>
	</tr>
    <{foreachelse}>
     <tr><td colspan="20"><p class="text-align">没有数据</p></td></tr>
    <{/foreach}>
    </table>
	</form>
	<div class="page-bar">
		<table>
			<tr>
			<td class="w-100"><label><input type="checkbox" CKA="PRI"/>&nbsp;&nbsp;全选</label></td>
			<td colspan="10" class="left"><{link ctl="member/member:delete" type="button" submit="mini:#items-form" confirm="mini:确定要批量删除选中的内容吗?" priv="hide" value="批量删除"}></td>
			<td class="page-list"><{$pager.pagebar}></td>
		</tr>
		</table>
	</div>
</div>
<{include file="admin:common/footer.html"}>